extends Node

enum ACTORTYPE {PLAYER,ENEMY,NPC}
enum GAMESTATE {IDLE,SHOWMENU,SHOWDETAIL,SELECTMOVEPATH,SELECTATTACKPATH,MOVEING}

#当前被选中的英雄和敌人
var current_player = null
var current_enemy  = null
var game_state = GAMESTATE.IDLE
var mouse_pos : Vector2 = Vector2.ZERO
#鼠标是否有移入
var isEnterMenu : bool = false
#存放可以行走路径到数组
var canMovePathArr = []
#存放可以的路径到数组
var attackPathArr = []
#记录英雄及敌人在地图对位置
var saveActorPathArr = []

onready var MapScene = get_node("root")
